package com.dh.project.service.impl;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.dh.project.mapper.CouponePeopleMapper;
import com.dh.project.model.CouponePeople;
import com.dh.project.model.PageModel;
import com.dh.project.service.CouponPeopleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by admin on 2017/4/13.
 */
@Service
public class CouponPeopleServiceImpl extends SuperServiceImpl<CouponePeopleMapper,CouponePeople> implements CouponPeopleService {

    @Autowired
    private CouponePeopleMapper couponePeopleMapper;

    @Override
    public List<CouponePeople> selectCouponpeopleByMap(Map map) {
        return couponePeopleMapper.selectCouponpeopleByMap(map);
    }

    @Override
    public PageModel selectCouponpeopleByMapCount(Map map) {
        return couponePeopleMapper.selectCouponpeopleByMapCount(map);
    }

    @Override
    public List<CouponePeople> selectGetCouponpeopleByMap(Map map) {
        return couponePeopleMapper.selectGetCouponpeopleByMap(map);
    }

    @Override
    public PageModel selectGetCouponpeopleByMapCount(Map map) {
        return couponePeopleMapper.selectGetCouponpeopleByMapCount(map);
    }
}
